package com.dhl.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author danghailiang
 * @date 2023年03月14日 18:03
 */
@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan("com.dhl")
@MapperScan("com.dhl.demo.mapper")
public class DemoApplication {
    public static void main(String[] args) {
        try {
            SpringApplication.run(DemoApplication.class,args);
        }catch (Exception e){
            e.printStackTrace();
        }
    }
}
